home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / gem / l_1199 / 1139 < prev    next >
Text File  |  1994-08-27  |  2KB  |  39 lines

  1. Subject: Re: Scope of an APP_DEFS file 
  2. Date: Mon, 01 Aug 1994 11:14:46 +1000
  3. From: Warwick Allison <warwick@cs.uq.oz.au>
  4. Precedence: bulk
  5.  
  6. Rick Flashman wrote:
  7. >On Fri, 29 Jul 1994 d.oakley.kid0111@oasis.icl.co.uk wrote:
  8. >
  9. >> The advantage of not using dialogs is speed
  10. >
  11. >That must depend on code speed. I can't see any noticeable difference in 
  12. >opening a windowed dialog vs. a regular dialog under Geneva (that's on an 
  13. >8mhz 68000).
  14.  
  15. The advantage comes if the dialog routine uses a temporary raster storage of
  16. the screen under the dialog rather form_dial.  This means no redraw is needed
  17. (just replace the saved area).  LTMF provides this, as do some GEM libraries
  18. (eg. GEM++ saves the area under dialogs, if it can get the RAM).
  19.  
  20.  
  21. >> programs will not use their own preference files: Am I right or wrong?
  22. >
  23. >I disagree. Programs like Geneva and NeoDesk keep a substancial amount of 
  24. >additional information (everything from a program_flag list for Geneva to 
  25. >dialog_positions for NeoDesk). I doubt you would want an APP_DEFS file 
  26. >overwhelmed by all that application specific stuff.
  27.  
  28. Some bulk preferences may perhaps be left out, but for most things, it
  29. shouldn't be a big deal.  While reading the app_defs file, an application
  30. can instantly skip any lines that don't start with their name (app-specific
  31. preference) or a "*" (global preference), so the cost is low.  Perhaps we
  32. can think of some recommendation, such as "If your app has more than 100
  33. app-specific options, consider moving some of the bulk options to a separate
  34. file.  That file should, however, be pointed to from the app_defs file,
  35. so as to enable all the other advantages of app_defs (such as multi-user)".
  36.  
  37. --
  38. Warwick
  39.